/**
 * 上海中赢金融信息服务有限公司
 * Copyright (c) 2016-2026 hmc,Inc.All Rights Reserved.
 */
package com.sys.midware.config.core;

/**
 * 
 * <b>ClassName：</b> ConfigKey <br/>
 * <b>Description：</b> 配置文件key常量类 <br/>
 * <b>@author：</b> mobing <br/>
 * <b>@date：</b> 2015年10月16日 下午7:43:17 <br/>
 * <b>@version: </b>  <br/>
 */
public enum ConfigKey {
    ;
    
    //配置文件相关
    public static enum ConfigFile {
        ;
        public static final String CONFIG_FILE_ROOT = "config/BConfigRoot.xml";
      
    }
//    //context相关
//    public static enum Context {
//        ;
//        public static final String KEY_MAIL_SMTP_HOST = "mail_smtp_host";
//    }
    
    //mail相关
    public static enum Mail {
        ;
        public static final String KEY_MAIL_SMTP_HOST = "mail_smtp_host";
        public static final String KEY_MAIL_SMTP_PORT = "mail_smtp_port";
        public static final String KEY_MAIL_FROM_USER = "mail_from_user";
        public static final String KEY_MAIL_FROM_PASSWORD = "mail_from_password";
        public static final String KEY_MAIL_TO_USER = "mail_to_user";
        public static final String KEY_MAIL_CC_USER = "mail_cc_user";
        public static final String KEY_MAIL_ISAUTH = "mail_isAuth";
        public static final String KEY_MAIL_ISSSL = "mail_isSSL";
        public static final String KEY_MAIL_SSL_PORT = "mail_SSL_Port";
        public static final String KEY_MAIL_ISDEBUG = "mail_isDebug";
    }
    //Hbase相关
    public static enum HBase {
        ;
        public static final String KEY_HBASE_HOST = "hbase_host";
        public static final String KEY_HBASE_PORT = "hbase_port";
        public static final String KEY_HBASE_ZOOKEEPER_CLUSTER = "hbase_zookeeper_cluster";
        public static final String KEY_HBASE_ZOOKEEPER_PORT = "hbase_zookeeper_port";
        //------------------------hbase 性能设置相关------------
        public static final String KEY_HBASE_CLIENT_AUTOFLUSH = "hbase_client_autoflush";
        public static final String KEY_HBASE_CLIENT_COMPACTION = "hbase_client_compaction";
        public static final String KEY_HBASE_CLIENT_WAL = "hbase_client_wal";
        public static final String KEY_HBASE_CLIENT_WRITE_BUFFER = "hbase_client_write_buffer";
        public static final String KEY_HBASE_CLIENT_QUERY_MAXRESULTSIZE = "hbase_client_query_maxResultSize";
        public static final String KEY_HBASE_CLIENT_QUERY_BATCH = "hbase_client_query_batch";
        public static final String KEY_HBASE_CLIENT_SCANNER_CACHING = "hbase_client_scanner_caching";
        public static final String KEY_HBASE_CLIENT_CF_MAXVERSIONS = "hbase_client_cf_maxVersions";
        public static final String KEY_HBASE_CLIENT_CF_BLOOMTYPE = "hbase_client_cf_bloomType";
        public static final String KEY_HBASE_CLIENT_CF_COMPRESSIONALGORITHM = "hbase_client_cf_compressionAlgorithm";
        public static final String KEY_HBASE_CLIENT_ENABLEBLOCKCACHE = "hbase_client_enableBlockCache";
    }
//    //MySql相关
//    public static enum RDB {
//        ;
//        public static final String KEY_DRIVER_CLASS_NAME = "driverClassName";
//        public static final String KEY_URL = "url";
//        public static final String KEY_USERNAME = "username";
//        public static final String KEY_PASSWORD = "password";
//        
//        //--------连接池相关-----
//        public static final String KEY_POOL_initialSize = "pool_initialSize";
//        public static final String KEY_POOL_maxActive = "pool_maxActive";
//        public static final String KEY_POOL_minIdle = "pool_minIdle";
//        public static final String KEY_POOL_maxWait = "pool_maxWait";
//        public static final String KEY_POOL_removeAbandoned = "pool_removeAbandoned";
//        public static final String KEY_POOL_removeAbandonedTimeout = "pool_removeAbandonedTimeout";
//        public static final String KEY_POOL_timeBetweenEvictionRunsMillis = "pool_timeBetweenEvictionRunsMillis";
//        public static final String KEY_POOL_minEvictableIdleTimeMillis = "pool_minEvictableIdleTimeMillis";
//        public static final String KEY_POOL_testOnBorrow = "pool_testOnBorrow";
//        public static final String KEY_POOL_testOnReturn = "pool_testOnReturn";
//        public static final String KEY_POOL_testWhileIdle = "pool_testWhileIdle";
//        public static final String KEY_POOL_validationQuery = "pool_validationQuery";
//        public static final String KEY_POOL_poolPreparedStatements = "pool_poolPreparedStatements";
//        public static final String KEY_POOL_maxOpenPreparedStatements = "pool_maxOpenPreparedStatements";
//        public static final String KEY_POOL_maxPoolPreparedStatementPerConnectionSize = "pool_maxPoolPreparedStatementPerConnectionSize";
//        public static final String KEY_POOL_filters = "pool_filters";
//    }
    //Mongo相关
    public static enum Mongo {
        ;
        public static final String KEY_mongo_host = "mongo_host";
        public static final String KEY_mongo_port = "mongo_port";
        public static final String KEY_mongo_isAuth = "mongo_isAuth";
        public static final String KEY_mongo_userName = "mongo_userName";
        public static final String KEY_mongo_password = "mongo_password";
        public static final String KEY_mongo_authDB = "mongo_authDB";
        
        public static final String KEY_mongo_connectionsPerHost = "mongo_connectionsPerHost";
        public static final String KEY_mongo_threadsAllowedToBlockForConnectionMultiplier = "mongo_threadsAllowedToBlockForConnectionMultiplier";
        public static final String KEY_mongo_connectTimeout = "mongo_connectTimeout";
        public static final String KEY_mongo_maxWaitTime = "mongo_maxWaitTime";
        public static final String KEY_mongo_autoConnectRetry = "mongo_autoConnectRetry";
        public static final String KEY_mongo_socketKeepAlive = "mongo_socketKeepAlive";
        public static final String KEY_mongo_socketTimeout = "mongo_socketTimeout";
        public static final String KEY_mongo_connectionPoolSize = "mongo_connectionPoolSize";
    }
    //Memcached相关
    public static enum Memcached {
        ;
        public static final String KEY_MEMCACHED_SERVERS = "memcached_servers";
        public static final String KEY_MEMCACHED_EXPIRETIME = "memcached_expiretime";
        public static final String KEY_MEMCACHED_TIMEOUT = "memcached_timeout";
        public static final String KEY_MEMCACHED_BATCHSIZE = "memcached_batchsize";
    }
//    //MQ相关
//    public static enum MQ {
//        ;
//        public static final String KEY_ROCKETMQ_NAME_SERVER = "rocketmq_name_server";
//        public static final String KEY_MSG_CONSUMER_THREAD_MIN_SIZE = "msg_consumer_thread_min_size";
//        public static final String KEY_MSG_CONSUMER_THREAD_MAX_SIZE = "msg_consumer_thread_max_size";
//        public static final String KEY_MSG_PULL_THRESHOLD_QUEUE_SIZE = "msg_pull_threshold_queue_size";
//        public static final String KEY_MSG_CONSUME_BATCH_MAX_SIZE = "msg_consume_batch_max_size";
//        public static final String KEY_MSG_PULL_BATCH_SIZE = "msg_pull_batch_size";
//        public static final String KEY_MSG_CONSUME_CONCURRENTLY_MAX_SPAN_SIZE = "msg_consume_concurrently_max_span_size";
//        //以下参数根据应用来配置
//        public static final String KEY_MSG_GROUP_PRODUCER = "msg_group_producer";
//        public static final String KEY_MSG_GROUP_CONSUMER = "msg_group_consumer";
//        public static final String KEY_MSG_SUBSCRIBE_TOPIC = "msg_subscribe_topic";
//        public static final String KEY_MSG_TAG_DEFAULT = "msg_tag_default";
//        
//    }
//    //Redis相关
//    public static enum Redis {
//        ;
//        public static final String KEY_REDIS_HOST = "redis_host";
//        public static final String KEY_REDIS_PORT = "redis_port";
//        public static final String KEY_REDIS_USERNAME = "redis_userName";
//        public static final String KEY_REDIS_PASSWORD = "redis_password";
//        //pool relative
//        public static final String KEY_REDIS_POOL_maxTotal = "redis_pool_maxTotal";
//        public static final String KEY_REDIS_POOL_maxActive = "redis_pool_maxActive";
//        public static final String KEY_REDIS_POOL_maxIdle = "redis_pool_maxIdle";
//        public static final String KEY_REDIS_POOL_maxWait = "redis_pool_maxWait";
//        public static final String KEY_REDIS_POOL_minIdle = "redis_pool_minIdle";
//        public static final String KEY_REDIS_POOL_testOnBorrow = "redis_pool_testOnBorrow";
//        public static final String KEY_REDIS_POOL_testOnReturn = "redis_pool_testOnReturn";
//        public static final String KEY_REDIS_POOL_minEvictableIdleTimeMillis = "redis_pool_minEvictableIdleTimeMillis";
//    }
//    //爬虫相关
//    public static enum Crawler {
//        ;
//        public static final String KEY_MAIL_SMTP_HOST = "mail_smtp_host";
//    }
//    //SF1相关
//    public static enum SF1 {
//        ;
//        public static final String KEY_MAIL_SMTP_HOST = "mail_smtp_host";
//    }
    
//    //Kafka相关
//    public static enum Kafka {
//    	;
//    	public static final String BOOTSTRAP_SERVERS = "bootstrap.servers";
//    	
//    	public static final String ACKS = "acks";
//    	
//    	public static final String KEY_SERIALIZER = "key.serializer";
//    	
//    	public static final String VALUE_SERIALIZER = "value.serializer";
//    	
//    	public static final String TOPIC = "topic";
//    	
//    }
}
